﻿namespace ClientOverflow.Core
{
    /// <summary>
    /// The ServicesProviderFactory has single resposibility which is supplying an instance of IServicesProvider
    /// for dependant classes in other assemblies.
    /// </summary>
    public static class ServicesProviderFactory
    {
        private static readonly ServicesProvider instance;

        static ServicesProviderFactory()
        {
            instance = new ServicesProvider();
        }

        public static IServicesProvider GetInstance()
        {
            return instance;
        }
    }
}